<?php

/**
 * News Header - Component
 *
 * @version $Id: news_header.inc.php,v 1.6 2004/12/31 14:35:56 phppc Exp $
 * @copyright 2004 
 **/

	$nav_mode = array();
	$nav_link = array();
	$nav_array[1] = "show";
	if($this->user_id == 0) {
		$nav_array[2] = "login";
		if($this->db_config["regist_option"] >= 1) $nav_array[4] = "regist";
	}else $nav_array[2] = "logout";
	$nav_array[3] = "archiv";
	if($this->perm_array["acp_access"] == 1) {
		$nav_array[4] = "admin";
		$nav_mode[4] = "extern_nw";
		$nav_link[4] = $this->fun_make_link($this->config["http_pfad"] . "admin/admin.php");	
	}

	$this->news_top = $this->uf_link_nav_creator($this->inc_value["action"],"news_top_nav_",$this->module_extern_array["action"],$nav_array,$this->fun_make_link("","",1,array("action")),"news_top","news_top_one","aktiv","nc",$nav_mode,$nav_link);
 
?>